|
|
|
|
|
|
|
Figure 7.3
Program Unsharp uses unsharp masking to
make images appear sharper. |
|
|
|
|
|
|
|
|
High-pass kernels have a relatively large center coefficient surrounded by negative coefficients. This gives the filter its detail-enhancing effect. |
|
|
|
|
|
|
|
|
To see why these kernels leave low-frequency details relatively unchanged, suppose a kernel lies over a large area where every pixel has the same value P. Then the output value will be (P * c1 + P * c2 + . . . + P * Cn) = P * (c1 + c2 + . . . + cn). Because the sum of the coefficients is 1, the output value is P, so the pixel's output value is the same as its input value. This fact is what makes high-pass filters leave low-frequency components mostly |
|
|
|
|
|